package DBLayer;

import java.util.ArrayList;

import ModelLayer.Customer;

public interface IFDBCustomer {
	// get all Customers
    public ArrayList<Customer> getAllCustomers();
    
    //get one Customer having the phoneNo
    public Customer getCustomerByPhoneNo(String _phoneNo);
    
    //get one Customer having the name
    public Customer getCustomerByName(String _name);
    
    //get one Customer having the id
    public Customer getCustomerById(int _id);
   
    //insert a new Customer
    public int insertCustomer(Customer _cust) throws Exception;
    
    //update information about an Customer
    public int updateCustomer(Customer _cust);
	
	//delete a Customer
	public int deleteCustomer(Customer _cust);
}
